<?php
/**
 * PhpStorm
 * User: zucheng
 * Date: 2019/3/21
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use phpDocumentor\Reflection\Types\Self_;

class Driver extends Model
{
    protected $table = 'v_drivers';

    /**
     * 不可批量赋值的属性
     * @var array
     */
    protected $guarded = ['id'];

    /**
     * 未认证
     * @var int $statusUnverified
     */
    public static $statusUnverified = 0;

    /**
     * 全部认证
     * @var int $statusUnverified
     */
    public static $statusVerified = 1;

    /**
     * 身份认证
     * @var int $statusIdentityVerified
     */
    public static $statusIdentityVerified = 10;

    /**
     * 车辆认证
     * @var int $statusCarVerified
     */
    public static $statusCarVerified = 20;

    /**
     * 车辆空闲状态
     * @var int $carStatusAvailable
     */
    public static $carStatusAvailable = 1;

    /**
     * 车辆繁忙状态
     * @var int $carStatusOccupied
     */
    public static $carStatusOccupied = 2;


}